<?php

namespace App\Consts;

/**
 * 全局通用举报定义
 * @author dumpling
 */
class GlobalReportConst
{

    // 举报防侵权类型
    public const CATEGORY_TYPE_TORT = 5;

    // 防侵权列表
    public const TORT_TYPE_COPYRIGHT = 1;
    public const TORT_TYPE_PORTRAITURE = 2;
    public const TORT_TYPE_REPUTATION  = 3;
    public const TORT_TYPE_PRIVACY = 4;
    public const TORT_TYPE_LIST = [
        self::TORT_TYPE_COPYRIGHT => '侵犯著作权',
        self::TORT_TYPE_PORTRAITURE => '侵犯肖像权',
        self::TORT_TYPE_REPUTATION  => '侵犯名誉权',
        self::TORT_TYPE_PRIVACY => '侵犯隐私权',
    ];

    // 状态，0禁用，1启用
    public const CATEGORY_STATUS_DISABLED = 0;
    public const CATEGORY_STATUS_NORMAL = 1;
}
